home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
- Object = "{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.0#0"; "SHDOCVW.DLL"
- Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0"; "COMDLG32.OCX"
- Begin VB.Form Form2
- AutoRedraw = -1 'True
- BorderStyle = 1 'Fixed Single
- Caption = "WebNet Browser "
- ClientHeight = 6156
- ClientLeft = 36
- ClientTop = 612
- ClientWidth = 9528
- LinkTopic = "Form1"
- MaxButton = 0 'False
- Picture = "Form2.frx":0000
- ScaleHeight = 513
- ScaleMode = 0 'User
- ScaleWidth = 1.033
- Begin SHDocVwCtl.WebBrowser WebBrowser1
- Height = 5172
- Left = 0
- TabIndex = 10
- Top = 720
- Width = 9492
- Object.Height = 431
- Object.Width = 791
- AutoSize = 0
- ViewMode = 1
- AutoSizePercentage= 0
- AutoArrange = -1 'True
- NoClientEdge = -1 'True
- AlignLeft = 0 'False
- End
- Begin VB.CommandButton Command6
- Caption = "Exit"
- Height = 420
- Left = 4920
- TabIndex = 9
- ToolTipText = "Options"
- Top = 0
- Width = 904
- End
- Begin VB.CommandButton Command5
- Caption = "Home"
- Height = 420
- Left = 3960
- TabIndex = 8
- ToolTipText = "Home"
- Top = 0
- Width = 904
- End
- Begin VB.CommandButton Command4
- Caption = "Stop"
- Height = 420
- Left = 3000
- TabIndex = 7
- ToolTipText = "Stop"
- Top = 0
- Width = 904
- End
- Begin VB.CommandButton Command3
- Caption = "Refresh"
- Height = 420
- Left = 2040
- TabIndex = 6
- ToolTipText = "Refresh"
- Top = 0
- Width = 904
- End
- Begin VB.CommandButton Command2
- Caption = "Forward"
- Height = 420
- Left = 1080
- TabIndex = 5
- ToolTipText = "Forward"
- Top = 0
- Width = 904
- End
- Begin VB.CommandButton Command1
- Caption = "Back"
- Height = 420
- Left = 120
- TabIndex = 4
- ToolTipText = "Back"
- Top = 0
- Width = 904
- End
- Begin MSComDlg.CommonDialog CommonDialog1
- Left = 4800
- Top = 3240
- _ExtentX = 677
- _ExtentY = 677
- _Version = 327680
- End
- Begin MSComctlLib.StatusBar StatusBar1
- Align = 2 'Align Bottom
- Height = 252
- Left = 0
- TabIndex = 1
- Top = 5904
- Width = 9528
- _ExtentX = 16806
- _ExtentY = 445
- _Version = 393216
- BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
- NumPanels = 3
- BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- Style = 6
- Alignment = 1
- AutoSize = 2
- Object.Width = 1461
- MinWidth = 1469
- TextSave = "5/28/99"
- Object.ToolTipText = "Date"
- EndProperty
- BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- Style = 5
- Alignment = 1
- AutoSize = 2
- Object.Width = 1461
- MinWidth = 1469
- TextSave = "5:13 PM"
- Object.ToolTipText = "Time"
- EndProperty
- BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- Alignment = 1
- AutoSize = 2
- Object.Width = 2392
- MinWidth = 2386
- Text = "Browser
- 1999"
- TextSave = "Browser
- 1999"
- Object.ToolTipText = "Copyright Info"
- EndProperty
- EndProperty
- End
- Begin VB.ComboBox Address
- Height = 288
- ItemData = "Form2.frx":0052
- Left = 960
- List = "Form2.frx":0054
- TabIndex = 0
- ToolTipText = "Web Site Address"
- Top = 480
- Width = 4862
- End
- Begin VB.Label Label2
- BorderStyle = 1 'Fixed Single
- Height = 600
- Left = 5880
- TabIndex = 3
- ToolTipText = "Link to what page"
- Top = 0
- Width = 3612
- End
- Begin VB.Label Label1
- Caption = "Address:"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.6
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 252
- Left = 120
- TabIndex = 2
- Top = 480
- Width = 852
- End
- Begin VB.Menu File
- Caption = "&File"
- NegotiatePosition= 1 'Left
- Begin VB.Menu Exit
- Caption = "Exit"
- Shortcut = ^Q
- End
- End
- Begin VB.Menu Extra
- Caption = "&Extra's"
- Enabled = 0 'False
- NegotiatePosition= 1 'Left
- Begin VB.Menu link
- Caption = "Links"
- Begin VB.Menu Telery
- Caption = "Telery"
- End
- Begin VB.Menu line
- Caption = "-"
- End
- Begin VB.Menu searcheng
- Caption = "Search Engine's"
- Begin VB.Menu vista
- Caption = "Altavista"
- End
- Begin VB.Menu Excite
- Caption = "Excite"
- End
- Begin VB.Menu bot
- Caption = "HotBot"
- End
- Begin VB.Menu Lycos
- Caption = "Lycos"
- End
- Begin VB.Menu Magellan
- Caption = "Magellan"
- End
- Begin VB.Menu search
- Caption = "search.com"
- End
- Begin VB.Menu crawl
- Caption = "WebCrawler"
- End
- Begin VB.Menu gans
- Caption = "Yahooligans"
- End
- Begin VB.Menu Yahoo
- Caption = "Yahoo"
- End
- End
- Begin VB.Menu dwnload
- Caption = "Download"
- Begin VB.Menu media
- Caption = "Macromedia"
- End
- Begin VB.Menu download
- Caption = "download.com"
- End
- Begin VB.Menu shareware
- Caption = "shareware.com"
- End
- Begin VB.Menu window
- Caption = "Windows95.com"
- End
- End
- End
- Begin VB.Menu Mail
- Caption = "Mail"
- Begin VB.Menu SendMail
- Caption = "Send Mail"
- Shortcut = ^M
- End
- End
- Begin VB.Menu line2
- Caption = "-"
- End
- Begin VB.Menu New
- Caption = "New Browser"
- Shortcut = ^N
- End
- Begin VB.Menu FileOpen
- Caption = "Open"
- Enabled = 0 'False
- Shortcut = ^O
- End
- Begin VB.Menu FileSave
- Caption = "Save As"
- Enabled = 0 'False
- Shortcut = ^S
- End
- Begin VB.Menu IP
- Caption = "IP Finder"
- Shortcut = ^I
- End
- Begin VB.Menu midiplayer
- Caption = "Local Midi Player"
- Shortcut = ^L
- End
- End
- Begin VB.Menu Opt
- Caption = "&Options"
- NegotiatePosition= 1 'Left
- Begin VB.Menu Options
- Caption = "Option's Menu"
- Shortcut = ^F
- End
- End
- Begin VB.Menu About
- Caption = "&About"
- NegotiatePosition= 1 'Left
- Begin VB.Menu About1
- Caption = "About WebNet Browser"
- End
- End
- Begin VB.Menu mnuFile
- Caption = "Popup Menu"
- Visible = 0 'False
- Begin VB.Menu mnusub1
- Caption = "Enable Extra's"
- Shortcut = ^E
- End
- Begin VB.Menu mnusub2
- Caption = "Disable Extra's"
- Shortcut = ^D
- End
- Begin VB.Menu mnusub3
- Caption = "Exit"
- Shortcut = ^X
- End
- End
- Attribute VB_Name = "Form2"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Event NewWindow(URL As String, Flags As Long, TargetFrameName As String, PostData, Headers As String, Processed As Boolean)
- Private Sub Author_Click()
- WebBrowser1.Navigate ("http://www.telery.com/kf4zpb/")
- End Sub
- Private Sub bot_Click()
- WebBrowser1.Navigate ("http://www.hotbot.com/")
- End Sub
- Private Sub Command6_Click()
- Unload Me
- End Sub
- Private Sub crawl_Click()
- WebBrowser1.Navigate ("http://www.webcrawler.com./")
- End Sub
- Private Sub download_Click()
- WebBrowser1.Navigate ("http://www.download.com/")
- End Sub
- Private Sub Excite_Click()
- WebBrowser1.Navigate ("http://www.excite.com/")
- End Sub
- Private Sub Extraenable_Click()
- Extra.Enabled = True
- FileOpen.Enabled = True
- FileSave.Enabled = True
- End Sub
- Private Sub Extradisable_Click()
- Extra.Enabled = False
- FileOpen.Enabled = False
- FileSave.Enabled = False
- End Sub
- Private Sub Exit_Click()
- Unload Me
- End Sub
- Private Sub Form_Load()
- Move (Screen.Width - Width) \ 2, (Screen.Height - Height) \ 2 'center the form on the screen
- URL = "c:\blank.htm"
- WebBrowser1.Navigate URL
- End Sub
- Private Sub Address_Click()
- WebBrowser1.Navigate (Address.Text)
- Address.AddItem Item, Index
- On Error Resume Next
- End Sub
- Private Sub Address_KeyPress(KeyAscii As Integer)
- If KeyAscii = 13 Then
- Address_Click
- End If
- End Sub
- Private Sub Address_LostFocus()
- Address.AddItem (Address.Text)
- End Sub
- Private Sub gans_Click()
- WebBrowser1.Navigate ("http://www.yahooligans.com/")
- End Sub
- Private Sub Home_Click()
- On Error GoTo HomeErr
- WebBrowser1.Navigate ("http://www.telery.com")
- HomeErr:
- End Sub
- Private Sub Command1_Click()
- On Error GoTo BackErr
- WebBrowser1.GoBack
- BackErr:
- Exit Sub
- End Sub
- Private Sub Command2_Click()
- On Error GoTo ForwardErr
- WebBrowser1.GoForward
-
- ForwardErr:
- Exit Sub
- End Sub
- Private Sub Command3_Click()
- On Error GoTo RefreshErr
- WebBrowser1.Refresh
- RefreshErr:
- Exit Sub
- End Sub
- Private Sub Command4_Click()
- On Error GoTo StopErr
- WebBrowser1.Stop
- StopErr:
- Exit Sub
- End Sub
- Private Sub Command5_Click()
- WebBrowser1.Navigate ("http://www.telery.com/")
- Exit Sub
- End Sub
- Private Sub IP_Click()
- frmIP.Show 1
- End Sub
- Private Sub Lycos_Click()
- WebBrowser1.Navigate ("http://www.lycos.com/")
- End Sub
- Private Sub Magellan_Click()
- WebBrowser1.Navigate ("http://www.mckinley.com/")
- End Sub
- Private Sub media_Click()
- WebBrowser1.Navigate ("http://www.macromedia.com/")
- End Sub
- Private Sub midiplayer_Click()
- frmMidi.Show 1
- End Sub
- Private Sub mnusub1_Click()
- Extra.Enabled = True
- FileOpen.Enabled = True
- FileSave.Enabled = True
- End Sub
- Private Sub mnusub2_Click()
- Extra.Enabled = False
- FileOpen.Enabled = False
- FileSave.Enabled = False
- End Sub
- Private Sub mnusub3_Click()
- Unload Me
- End Sub
- Private Sub New_Click()
- 'to do
- Msg = "New Window Code Goes Here"
- MsgTitle = "Not Ready Yet"
- prompt = MsgBox(Msg, vbOKOnly, MsgTitle)
- End Sub
- Private Sub FileOpen_Click()
-
- On Error GoTo Err_Handler
- CommonDialog1.CancelError = True
- CommonDialog1.Filter = "HTML, HTM, HT3 Files (*.html; *.htm; *.ht3)|*.html; *.htm; *.ht3|TXT Files (*.txt)|*.txt|Document Files (*.doc)|*.doc"
- CommonDialog1.ShowOpen
- WebBrowser1.Picture = LoadPicture(CommonDialog1.filename)
- If CommonDialog1.filename <> "" Then
- WebBrowser1.filename = CommonDialog1.filename
- Form1.Caption = CommonDialog1.FileTitle
- End If
- Exit Sub
- Err_Handler:
- Exit Sub
- End Sub
- Private Sub About1_Click()
- frmAbout.Show 1
- End Sub
- Private Sub Menu1_Click()
- End Sub
- Private Sub Refresh_Click()
- WebBrowser1.Refresh
- End Sub
- Private Sub FileSave_Click()
-
-
- On Error GoTo Err_Handler
- CommonDialog1.CancelError = True
- CommonDialog1.Filter = "HTML, HTM, HT3 Files (*.html; *.htm; *.ht3)|*.html; *.htm; *.ht3|TXT Files (*.txt)|*.txt|Document Files (*.doc)|*.doc"
- CommonDialog1.ShowSave
- If CommonDialog1.filename <> "" Then
- Picture1.filename = CommonDialog1.filename
- Form1.Caption = CommonDialog1.FileTitle
- End If
- Exit Sub
- Err_Handler:
- Exit Sub
- End Sub
- Private Sub Picture1_Click()
- WebBrowser1.Navigate ("http://www.telery.com/kf4zpb/")
- End Sub
- Private Sub Options_Click()
- frmOpt.Show 1
- End Sub
- Private Sub search_Click()
- WebBrowser1.Navigate ("http://www.search.com/")
- End Sub
- Private Sub SendMail_Click()
- frmMain.Show 1
- End Sub
- Private Sub shareware_Click()
- WebBrowser1.Navigate ("http://www.shareware.com/")
- End Sub
- Private Sub Stop_Click()
- WebBrowser1.Stop
- End Sub
- Private Sub Telery_Click()
- WebBrowser1.Navigate ("http://www.telery.com/")
- End Sub
- Private Sub vista_Click()
- WebBrowser1.Navigate ("http://www.altavista.com/")
- End Sub
- Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
- Label2 = Text
- End Sub
- Private Sub window_Click()
- WebBrowser1.Navigate ("http://www.windows95.com/")
- End Sub
- Private Sub Yahoo_Click()
- WebBrowser1.Navigate ("http://www.yahoo.com/")
- End Sub
- Private Sub WebBrowser1_TitleChange(ByVal Text As String)
- Me.Caption = Text
- End Sub
- Private Sub Cancel_Click()
- Unload Me 'exit the program
- End Sub
- Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub Form1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub WebBrowser1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub Label1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub Label2_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub StatusBar1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub Address_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub Command1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub Command2_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub Command3_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub Command4_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub Command5_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
- Private Sub Command6_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = 2 Then PopupMenu mnuFile
- End Sub
-